import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'

import { BaseEntity } from './base.entity'

@Entity()
export class SysDictTypeEntity
  extends BaseEntity
  implements ISysDictTypeEntity
{
  @PrimaryGeneratedColumn({ type: 'bigint' })
  dictId: string

  @Column()
  dictName: string

  @Column({ unique: true })
  dictType: string

  @Column()
  status: string

  @Column()
  remark: string
}
